package jhlee42;

public class x1 {
	public static void main(String[]args){
		String a = "ABC";
		char[] c = {a.charAt(0),a.charAt(1),a.charAt(2)};
		//char[] c = {a.charAt(3)};
		
		System.out.println(a);
		System.out.println(a.charAt(0));
		System.out.println(a.charAt(1));
		System.out.println(a.charAt(2));
		
		int s = a.length();
		
		System.out.println(s);		
		
		int d = (int)a.charAt(0);
		//System.out.println(d);
		
		
	}

}
